import request from '@/utils/request'

export const loginService = (loginData) => {
  return request.post('/sys/login', loginData)
}
export const getUserInfoService = () => request.get('/sys/profile')
/**
 *
 * @param {修改密码} data
 * @returns
 */
export const updatePasswordService = (data) => request.put('/sys/user/updatePass', data)
